package com.jhsw.roadsun.module.business.controller.admin.useraddress.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 地址簿 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserAddressRespVO {

    @Schema(description = "地址簿ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26972")
    @ExcelProperty("地址簿ID")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25449")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("手机号")
    private String mobile;

    @Schema(description = "详细地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("详细地址")
    private String address;

    @Schema(description = "类型（0寄件地址 1收件地址）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("类型（0寄件地址 1收件地址）")
    private Boolean type;

    @Schema(description = "默认地址（0否 1是）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("默认地址（0否 1是）")
    private Boolean isNormal;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}